Skip to content

deployment: add native config layers for the testing overlays#14645

Draft
nimrod-starkware wants to merge 1 commit into
nimrod/jsonnet/dummy-for-testing-native-layerfrom
nimrod/jsonnet/testing-overlays-native-layers
Draft

deployment: add native config layers for the testing overlays#14645
nimrod-starkware wants to merge 1 commit into
nimrod/jsonnet/dummy-for-testing-native-layerfrom
nimrod/jsonnet/testing-overlays-native-layers

Conversation

@nimrod-starkware

Copy link
Copy Markdown
Contributor

Under the native config path an overlay's config comes from sequencer_config.jsonnet
layers (YAML sequencerConfig is ignored). The testing/node-0 and testing/all-constructs
overlays (synthed by the cdk8s-test and hybrid-system-test CI jobs) had no native layer,
so native synth aborted on unconditionally-read overrides.* keys (validator_id, the outer
committer cache_size, ...).

  • testing/node-0: full value-parity native layer (the folded translation of its combined
    YAML sequencerConfig). It is deployed live by hybrid_system_test, so values are
    load-bearing; guarded by a strict mirror test (test_node0_layer_jsonnet_mirrors_combined_yaml).
  • testing/all-constructs: a structure-validation stub supplying exactly the unconditional
    overrides.* reads the base layer does not provide, with clearly-dummy immaterial values
    (its synth is only kubectl-validated for manifest structure); guarded by a synth-success
    test (test_all_constructs_native_config_synthesizes).

This lets every CI-synthed overlay build under native, before the default flip.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

@reviewable-StarkWare

Copy link
Copy Markdown

This change is Reviewable

nimrod-starkware commented Jun 28, 2026

Copy link
Copy Markdown
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/testing-overlays-native-layers branch from 39a3bb3 to e704bbc Compare June 28, 2026 10:14
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/testing-overlays-native-layers branch from e704bbc to b9c5305 Compare June 28, 2026 10:30
@nimrod-starkware nimrod-starkware force-pushed the nimrod/jsonnet/dummy-for-testing-native-layer branch from 082340c to 8852b34 Compare June 28, 2026 10:30
Under the native config path an overlay's config comes from sequencer_config.jsonnet
layers (YAML sequencerConfig is ignored). The testing/node-0 and testing/all-constructs
overlays (synthed by the cdk8s-test and hybrid-system-test CI jobs) had no native layer,
so native synth aborted on unconditionally-read overrides.* keys (validator_id, the outer
committer cache_size, ...).

- testing/node-0: full value-parity native layer (the folded translation of its combined
  YAML sequencerConfig). It is deployed live by hybrid_system_test, so values are
  load-bearing; guarded by a strict mirror test (test_node0_layer_jsonnet_mirrors_combined_yaml).
- testing/all-constructs: a structure-validation stub supplying exactly the unconditional
  overrides.* reads the base layer does not provide, with clearly-dummy immaterial values
  (its synth is only kubectl-validated for manifest structure); guarded by a synth-success
  test (test_all_constructs_native_config_synthesizes).

This lets every CI-synthed overlay build under native, before the default flip.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants